package com.luying.dao;

import com.luying.pojo.*;
import com.luying.pojo.Class;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TeacherDao {
    List<BaseDown> selectAllClass(@Param("id") Integer id);

    List<BaseDown> selectAllSubject(@Param("id") Integer id);

    List<Class> teacherClass(@Param("id") Integer id);

    List<BaseDown> subjectClass(@Param("teacherId") Integer teacherId, @Param("classId") Integer classId);

    List<BaseDown> selectAllStudents(@Param("classId") Integer classId);

    List<ScoreList> selectScoreList(@Param("query") ScorePageQuery pageQuery);

    List<BaseDown> selectAllYear();

    List<BaseDown> selectAllMoral();

    List<ScoreList> selectMoralScoreList(@Param("query") ScorePageQuery pageQuery);

}
